package com.yohann.designPattern.interpreter;

import java.util.HashMap;

/**
 * <p>
 * 符合表达式
 * </p>
 *
 * @author Yohann
 * @since 2021/2/13 16:29
 */
public abstract class SymbolExpression extends Expression {
    private Expression left;
    private Expression right;

    public SymbolExpression(Expression left, Expression right) {
        this.left = left;
        this.right = right;
    }

    public Expression getLeft() {
        return left;
    }

    public Expression getRight() {
        return right;
    }
}